<?php
include_once 'QqSDK.class.php';
class QzoneSDK extends QqSDK {

    
    /**
     * 分享链接
     * @var string
     */
    protected $ShareUrl = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey';

    public function share($param)
    {
        $share_data = [
            'url' => $param['share_url'],
            'title' => $param['title'],
            'site' => '66play',
            'summary' => '66play',
            'pics' => $param['thumb'],
        ];
        $url = $this->ShareUrl . '?' . http_build_query($share_data);

        return ['type' => 'web', 'url'  => $url];
    }

}